import request from '@/utils/request'
import { getCookies } from '@/utils/cookies'

export const checkAuthReq = () => {
  const adminname = getCookies('adminname')
  return request({
    url: '/admin/detail',
    method: 'GET',
    data: {
      adminname
    }
  })
}
